package com.tlgen.modules.vocation.service.mapper;

import com.tlgen.common.base.BaseMapper;
import com.tlgen.modules.common.service.mapper.J_AreaMapper;
import com.tlgen.modules.vocation.domain.Family;
import com.tlgen.modules.vocation.service.dto.FamilyDto;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

@Mapper(componentModel = "spring",uses = {J_AreaMapper.class, HomeMapper.class}, unmappedTargetPolicy = ReportingPolicy.IGNORE)//未映射的目标属性被忽略
public interface FamilyMapper extends BaseMapper<FamilyDto, Family> {

    FamilyDto toDto(String record);
}
